home *** CD-ROM | disk | FTP | other *** search
-
-
-
- PREFIX User Commands PREFIX
-
-
-
- _________________________________________________________________
-
- NNAAMMEE
- prefix - Manipulate the file system prefix table
-
- SSYYNNOOPPSSIISS
- pprreeffiixx [--pp [--xx _p_r_e_f_i_x]]
- pprreeffiixx --MM _d_e_v_i_c_e [[--rrLL]] [[--ff]] --ll _p_r_e_f_i_x
- pprreeffiixx --[[ccddUU]] _p_r_e_f_i_x
- pprreeffiixx --aa _p_r_e_f_i_x [--ss _s_e_r_v_e_r]
- pprreeffiixx --xx _p_r_e_f_i_x --[[hhHH]] _h_o_s_t
- pprreeffiixx --xx _p_r_e_f_i_x --ll _l_o_c_a_l_N_a_m_e
-
- OOPPTTIIOONNSS
- --pp (The default.) Print out the prefix table.
- With --xx, print the export list of a prefix.
-
- --xx _p_r_e_f_i_x Export a local directory given by --ll under the
- name _p_r_e_f_i_x, or use with --hh (--HH) to export
- (not export) the prefix to a particular host.
-
- --MM _d_e_v_i_c_e Mount the device under the local name given by
- the --ll option. The local name is exported.
-
- --LL Use with --MM to prevent exporting the prefix.
-
- --rr Mount read-only. Use with --MM.
-
- --UU _p_r_e_f_i_x Unmount the file system with the given prefix.
-
- --ff Force the installation of the prefix, i.e.
- don't do a stat to make sure the link exists.
-
- --ll _d_i_r_N_a_m_e Specifies local name. Used with --MM (mount) or
- --xx (export).
-
- --hh _h_o_s_t Add _h_o_s_t to the export list associated with
- the prefix given by the --xx option. _H_o_s_t can
- either be the name of the server or its Sprite
- ID.
-
- --HH _h_o_s_t Remove _h_o_s_t from the export list associated
- with the prefix given by the --xx option. _H_o_s_t
- can either be the name of the server or its
- Sprite ID.
-
- --aa _p_r_e_f_i_x Add _p_r_e_f_i_x to the prefix table. If the --ss
- option is not given a broadcast will be done
- to find the server.
-
- --ss _s_e_r_v_e_r Specify the server for the prefix given by the
- --aa option. _S_e_r_v_e_r can either be the name of
-
-
-
- Sprite v.1.0 Printed: July 11, 1992 1
-
-
-
-
-
-
- PREFIX User Commands PREFIX
-
-
-
- the server or its Sprite ID. If _s_e_r_v_e_r is 0 a
- broadcast will be done to find the server.
-
- --cc _p_r_e_f_i_x Clear the server binding for _p_r_e_f_i_x, but
- retain the prefix in the prefix table.
-
- --dd _p_r_e_f_i_x Delete _p_r_e_f_i_x from the prefix table alto-
- gether.
-
- _________________________________________________________________
-
-
- DDEESSCCRRIIPPTTIIOONN
- Prefix tables are cached mappings from file name prefixes to
- the servers that keep files under that prefix. Under nor-
- mal operation the prefix table is updated automatically as a
- side-effect of pathname lookup. The pprreeffiixx command is used
- to display the file system's prefix table, and to manipulate
- its individual entries. If no options are given, prefix
- prints out the contents of the prefix table (just as if the
- --pp switch had been given). If options are given, then they
- control what happens, as described above.
-
- PPRREEFFIIXXEESS AANNDD SSPPRRIITTEE
- The presense of a prefix is indicated by remote links in the
- file system. A remote link is a circular symbolic link with
- a special type. They are created via the "ln -r" command.
- When a server encounters a remote link during lookup, it
- returns the prefix indicated by the remote link to the
- client that initiated the lookup. The client loads the pre-
- fix (if it isn't already loaded), broadcasts for the server
- of the prefix (if it doesn't already know who that is), and
- then sends the lookup operation to the new server. Thus the
- root server is bypassed after prefixes are loaded. Prefixes
- can be nested arbitrarily; remote links can occur in any
- directory.
-
- Servers mount local disks under a prefix that gets exported
- to other Sprite hosts using the -M option. Servers can con-
- trol what hosts have access to a prefix by adding entries to
- an export list using the -h option. If the export list is
- empty the prefix is exported to all hosts, so adding one
- exportee effectivly prevents access to all other hosts.
-
- KKEEYYWWOORRDDSS
- prefix table, mount
-
-
-
-
-
-
-
-
-
-
-
- Sprite v.1.0 Printed: July 11, 1992 2
-
-
-
-